package com.oracle.application.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oracle.application.entity.Orders;
import com.oracle.application.entity.vo.CartVo;
import com.oracle.application.entity.vo.OrderConfirmVo;
import com.oracle.application.entity.vo.OrderSbumitVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qhy
 * @since 2021-06-24
 */
public interface IOrdersService extends IService<Orders> {

    public OrderConfirmVo creareOrderConfirm(List<CartVo> cartVos);

    Map<String,Object> submitOrder(OrderSbumitVo orderSbumitVo)throws Exception;

    int updateOrderSatus(String orderSn);
}
